package com.chenfan.process.enums;

import lombok.Getter;

/**
 * @author liuming
 * @date 2022/1/5
 */
public enum FieldTypeEnums {

    BUTTON(0, "button"), DIVIDER(1, "divider"), CARD(2, "card"), CONTROL(3, "control"), GRID(4, "grid"),
    TABLE(5, "table"), ALERT(6, "alert"), TEXT(7, "text"), HTML(8, "html"), INPUT(9, "input"), TEXTAREA(10, "textarea"),
    NUMBER(11, "number"), SELECT(12, "select"), CHECKBOX(13, "checkbox"), RADIO(14, "radio"), DATE(15, "date"),
    TIME(16, "time"), DATEPICKER(17, "datePicker"), RATE(18, "rate"), SLIDER(19, "slider");

    @Getter
    private Integer code;
    @Getter
    private String message;

    FieldTypeEnums(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
